package com.mes.md.service;

import com.mes.pojo.md.Unit;

import java.util.List;

public interface UnitService {
    public List<Unit> unitList(Long unitId);

    public List<Unit> queryUnitList(Unit unit);

    public List<Unit> queryMainUnitList();

    public Integer addUnit(Unit unit);

    public Integer deleteUnit(Long unitId);

    public Unit selectUnitById(Long unitId);
    public Integer updateUnit(Unit unit);

    public Integer deleteUnits(List<Unit> units);
}
